package main

import (
	"2-11zy/api"
	"2-11zy/appconfig"
	"2-11zy/inits"
	"github.com/gin-gonic/gin"
)

func main() {
	r := gin.Default()
	api.LoadRouter(r)
	appconfig.Init()
	inits.MysqlInit()
	r.Run(":8181") // 监听并在 0.0.0.0:8080 上启动服务
}
